package org.lzh.pojo;

import org.springframework.web.multipart.MultipartFile;

public class User {
    private String id;
    private String username;
    private String password;
    private MultipartFile image;  //MultipartFile  这个类一般是用来接受前台传过来的文件 这里用作接收上传的图片
    private String imageLu;
    private String note;
    private String team;         //分班后所在的班级
    private Integer score;      //学生成绩分数
    private Integer scoring;    //评分情况：未评完分 0 还是 已评完分 1
    private Integer studentOrTeacher;

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", image=" + image +
                ", imageLu='" + imageLu + '\'' +
                ", note='" + note + '\'' +
                ", team='" + team + '\'' +
                ", score=" + score +
                ", scoring=" + scoring +
                ", studentOrTeacher=" + studentOrTeacher +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public MultipartFile getImage() {
        return image;
    }

    public void setImage(MultipartFile image) {
        this.image = image;
    }

    public String getImageLu() {
        return imageLu;
    }

    public void setImageLu(String imageLu) {
        this.imageLu = imageLu;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getTeam() {
        return team;
    }

    public void setTeam(String team) {
        this.team = team;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getScoring() {
        return scoring;
    }

    public void setScoring(Integer scoring) {
        this.scoring = scoring;
    }

    public Integer getStudentOrTeacher() {
        return studentOrTeacher;
    }

    public void setStudentOrTeacher(Integer studentOrTeacher) {
        this.studentOrTeacher = studentOrTeacher;
    }
}
